<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <title>{$userinfo.username} - {$settings.site.sitename}</title>

 <!--  <meta name="keywords" content="{$userinfo.username}主页">
  <meta name="description" content="{$userinfo.username}主页"> -->
 {include file="public/css"}
 {include file="public/js"}
</head>
<body>

<div class="fly-header layui-bg-black">
  {include file="public/header"}
</div>

{include file="home/center"}

<div class="layui-container">
<div class="layui-row fly-panel">
    <div class="layui-tab layui-tab-card" lay-filter="info">
      <ul class="layui-tab-title">
               <li  {if $Request.action == 'index'}  class="layui-this" {/if} ><a href="/u/{$userinfo.uid}">来自买家的评价</a></li>
        <li {if $Request.action == 'sellerevaluate'}  class="layui-this" {/if}><a href="/u/{$userinfo.uid}/sellerEvaluate">来自卖家的评价</a></li>
        <li  {if $Request.action == 'info'}  class="layui-this" {/if}><a href="/u/{$userinfo.uid}/info">所有交易</a></li>
      </ul>
      <div class="layui-tab-content">

              
        <div class="layui-tab-item layui-show">
        <p style="padding:20px;">综合评价：付款速度：{:stars('pay',$userinfo.seller_pay)}工作态度 {:stars('attitude',$userinfo.seller_attitude)} 验收及时性： {:stars('check',$userinfo.seller_check)}
         </p>
              <table class="layui-table" lay-even lay-skin="nob">
                <colgroup>
                  <col width="80">
                  <col >

                </colgroup>
                <thead>
                  <tr>
                    <th>卖家</th>
                    <th>评价内容</th>
                  </tr> 
                </thead>
                <tbody>
                {volist name="list" id="vo" empty="$empty"}
                  <tr>
                    <td width="80"><a href="/u/{$vo.id}" target="_blank">{:avatar($vo.seller_uid,128)}</a><p style="text-align:center">{$vo.seller}</p></td>
                    <td>
                    <h3>{if $vo.seller_evaluate ==1}
                   <span class="layui-badge layui-bg-blue"> 好评</span>
                    {elseif $vo.seller_evaluate ==2}
                    <span class="layui-badge layui-bg-orange">中评</span>
                    {elseif $vo.seller_evaluate ==3}
                    <span class="layui-badge">差评</span>
                    {/if}
                    {$vo.title}</h3>
                    <p style="height:30px;line-height:30px;padding: 10px;">{if !empty($vo.seller_evaluate_content)}{$vo.seller_evaluate_content}{else}对方很懒，没有写评语！{/if}</p>
                    <p>付款速度：{:stars('pay-'.$vo.id,$vo.seller_pay)}工作态度 {:stars('attitude-'.$vo.id,$vo.seller_attitude)} 验收及时性： {:stars('check-'.$vo.id,$vo.seller_check)}
                    </p> 
                    </td>
                  </tr>
                {/volist}
                </tbody>
              </table>
              <div id="pages">{$page|raw}</div>
        </div>
    
      </div>
    </div>
</div>

  
  </div>
</div>

<!-- 会员底部文件 -->
{include file="public/footer"}



<script>
layui.use(['element','flow','rate'], function(){
  var element = layui.element;

});
</script>  

</body>
</html>